﻿
@{
    ViewBag.Title = "Main";
}

<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <title>管理后台</title>
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <script src="/Scripts/jquery-1.10.2.js"></script>
    <link href="/Scripts/layui/css/layui.css" rel="stylesheet" />

    <link href="/Content/admin/css/style.css" rel="stylesheet" />

    <script src="/Scripts/layui/layui.js"></script>
    <script src="/Scripts/xl.js"></script>
    <script src="/Scripts/ddaccordion.js"></script>
    <script src="/Scripts/xl.js"></script>

</head>
<body>
    <div class="wrapper">
        <div class="header">
            <div class="logo fl"><img src="/Content/admin/images/logo.png" /></div>
            <div class="headera fr">
                <ul>
                    <li>你好，@(ViewBag.Model == null ? "" : ViewBag.Model.Name)</li>
                    <li><a onclick=" $('#content').attr('src', '/AdminInfo/AdminMain/DataInfo')">修改密码</a></li>
                    <li><a href="/AdminInfo/AdminMain/Exit">退出</a></li>
                    <div class="cl"></div>
                </ul>
            </div>
        </div>
        <div class="contenta">
            <div class="col_sub">
                <div class="main_left">
                    <div class="main_left_cont1">
                        <div class="glossymenu">
                            
                            @*<a class="menuitem submenuheader" onclick="UrlJump(this,'@item.MenuLink')">*@
                            <a class="menuitem" onclick="UrlJump(this,'/AdminInfo/AdminMain/Index')">
                                <img src="~/Content/admin/images/PC1.png" />
                                首页
                            </a>
                            <a class="menuitem" onclick="UrlJump(this,'/AdminInfo/AdminNews/Index')">
                                <img src="~/Content/admin/images/PC2.png" />
                                新闻管理
                            </a>
                            <a class="menuitem" onclick="UrlJump(this,'/AdminInfo/AdminProduct/Index')">
                                <img src="~/Content/admin/images/PC3.png" />
                                产品管理
                            </a>
                            <a class="menuitem" onclick="UrlJump(this, '/AdminInfo/AdminExperts/Index')">
                                <img src="~/Content/admin/images/PC2.png" />
                                名家管理
                            </a>
                            <a class="menuitem submenuheader">
                                <img src="~/Content/admin/images/PC4.png" />
                                单页信息
                            </a>
                            <div class=submenu>
                                <ul>
                                    <li><a href="javascript:void(0)" onclick="UrlJump(this, '/AdminInfo/AdminAutoPage/Index?ID=2')">联系我们</a></li>
                                    <li><a href="javascript:void(0)" onclick="UrlJump(this, '/AdminInfo/AdminAutoPage/Index?ID=1')">关于我们</a></li>
                                </ul>
                            </div>
                            <a class="menuitem submenuheader" onclick="UrlJump(this,'/AdminInfo/AdminSystem/Index')">
                                <img src="~/Content/admin/images/PC5.png" />
                                系统参数
                            </a>
                            <div class=submenu>
                                <ul>
                                    <li><a href="javascript:void(0)" onclick="UrlJump(this, '/AdminInfo/AdminSystem/Index')">系统参数</a></li>
                                    <li><a href="javascript:void(0)" onclick="UrlJump(this, '/AdminInfo/AdminSystem/Banner')">背景图</a></li>
                                    <li><a href="javascript:void(0)" onclick="UrlJump(this, '/AdminInfo/AdminSystem/BannerURL')">合作连接</a></li>
                                    <li><a href="javascript:void(0)" onclick="UrlJump(this, '/AdminInfo/AdminSystem/NewTypeView')">新闻分类</a></li>
                                    <li><a href="javascript:void(0)" onclick="UrlJump(this, '/AdminInfo/AdminSystem/ProductTypeView')">产品分类</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="le">
                    <img src="/Content/admin/images/bb.jpg" />
                    <img src="/Content/admin/images/bc.jpg" />
                </div>
            </div>
        </div>
        <div class="col_main">
            <div class="main_wrap" id="main_wrap">
                <iframe src="/AdminInfo/AdminMain/index" style=" vertical-align:top; width:100%; height:100%;" name="content" id="content" frameborder="0"></iframe>
            </div>
        </div>
    </div>
    <div id="ss">

    </div>
</body>
</html>
<script type="text/javascript">
    function UrlJump(b, obj) {

        $('#content').attr('src', obj);
        //$("#menu li").each(function () {
        //    $(this).removeClass("on");
        //})
        //$(b).parent().addClass("on");

    }
    $(function () {
        $('#t').html(show());
    });
    function show() {
        var mydate = new Date();
        var str = "" + mydate.getFullYear() + "年";
        str += (mydate.getMonth() + 1) + "月";
        str += mydate.getDate() + "日";
        return str;
    }
</script>
